package com.lvmama.dashboard.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class JSPController {
	
	@RequestMapping("/sync/sync_log")
	public String syncLogConsole() {
		return "sync/sync_log";
	}
	
	@RequestMapping("/shell_console")
	public String shellConsole(@RequestParam("taskName") String taskName) {
		System.out.println("taskName: " + taskName);
		return "shell_console";
	}
	
	@RequestMapping("/login")
	public String loginPage() {
		return "login";
	}
	
	@RequestMapping("/main")
	public String mainPage() {
		return "main";
	}
	
	@RequestMapping("/log_search")
	public String logSearchPage() {
		return "log_search";
	}
}
